package com.java.service;

import java.util.List;

import com.java.model.Mail;
import com.java.model.PageBean;

public interface MailService {

	public List<Mail> find(PageBean pageBean,Mail s_mail);
	
	public int count(Mail s_mail);
	
	public void add(Mail mail);
	
	public void update(Mail mail);
	
	public void delete(int id);
	
	public Mail loadById(int id);
}
